export default {
  width: '678rpx',
  height: '464rpx',
  views: [
    {
      type: 'image',
      url: require('../static/images/card-bg.png'),
      css: {
        left: 0,
        top: 0,
        width: '678rpx',
        height: '464rpx',
      }
    },
    {
      type: 'image',
      url: this.cardInfo.head,
      css: {
        left: '42rpx',
        top: '42rpx',
        width: '106rpx',
        height: '106rpx',
        borderRadius: '48rpx',
      }
    },
    {
      type: 'image',
      url: require('@/static/images/auth.png'),
      css: {
        top: '99rpx',
        left: '173rpx',
        width: '199rpx',
        height: '61rpx',
      }
    },
    {
      type: 'text',
      text: '电话',
      css: {
        top: '186rpx',
        left: '42rpx',
        color: '#A7A8BD',
        fontSize: '28rpx'
      }
    },
    {
      type: 'text',
      text: '地址',
      css: {
        top: '255rpx',
        left: '42rpx',
        color: '#A7A8BD',
        fontSize: '28rpx'
      }
    },
    {
      type: 'text',
      text: '微信',
      css: {
        top: '370rpx',
        left: '42rpx',
        color: '#A7A8BD',
        fontSize: '28rpx'
      }
    },
    {
      type: 'text',
      text: this.cardInfo.name,
      css: {
        top: '38rpx',
        left: '173rpx',
        color: '#fff',
        fontSize: '42rpx'
      }
    },
    {
      type: 'text',
      text: this.cardInfo.phone,
      css: {
        top: '178rpx',
        left: '122rpx',
        color: '#fff',
        fontSize: '42rpx'
      }
    },
    {
      id: 'address-txt',
      type: 'text',
      text: this.cardInfo.address,
      css: {
        width: '364rpx',
        top: '258rpx',
        left: '122rpx',
        color: '#fff',
        fontSize: '28rpx',
        lineHeight: '42rpx'
      }
    },
    {
      type: 'image',
      url: require('@/static/images/icon-locate.png'),
      css: {
        width: '25rpx',
        height: '38rpx',
        top: '258rpx',
        left: '490rpx'
      }
    },
    {
      type: 'text',
      text: this.cardInfo.wechat,
      css: {
        top: '370rpx',
        left: '122rpx',
        color: '#fff',
        fontSize: '28rpx'
      }
    }
  ]
}
